# $Id: PKGBUILD 154283 2012-03-25 10:23:17Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>

pkgname=sshfs
pkgver=2.4
pkgrel=1
pkgdesc="FUSE client based on the SSH File Transfer Protocol"
arch=('i686' 'x86_64')
url="http://fuse.sourceforge.net/sshfs.html"
license=('GPL')
depends=('fuse' 'glib2' 'openssh')
makedepends=('pkg-config')
source=("http://downloads.sourceforge.net/sourceforge/fuse/${pkgname}-fuse-${pkgver}.tar.gz")
md5sums=('3c7c3647c52ce84d09486f1da3a3ce24')

build() {
  cd "${srcdir}/${pkgname}-fuse-${pkgver}"

  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-fuse-${pkgver}"

  make DESTDIR="${pkgdir}" install
}
